<?php
interface Advertise_Models_Interface_Advertise
{
    /**
    * Update or insert product advertise
    * @param array $advertise
    * @return void
    **/
    public function update($advertise);

    /**
     * Get product advertise
     * @param int $id Id of category
     * @return Tomato_Model_Recordset
    **/
    public function advertise($id);

    /**
     * Unadvertise product
     * @param int @cat_id
     * @param sting @strid
     * @return void
    **/
    public function unadvertise($cat_id, $strid);

    /**===================enterprise===============*/

    /**
    * Update or insert enterprise advertise
    * @param array $advertise
    * @return void
    **/
    public function enUpdate($advertise);

    /**
     * Get enterprise advertise
     * @return Tomato_Model_Recordset
    **/
    public function enAdvertise();

    /**
     * Unadvertise enterprise
     * @param sting @strid
     * @return void
    **/
    public function enUnadvertise($strid);
}
